home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 4 / MacMania 4.toast / / Tools&Utilities / unshar-19 / Read me! < prev    next >
Text File  |  1995-06-30  |  3KB  |  87 lines

  1. Version 1.9 of unshar is a minor update to provide compatibility
  2. with sys 7, PowerPCs and all that good stuff. In fact, it no longer
  3. runs under sys 6 or earlier.
  4.  
  5. This program and source code is in the public domain. If you want to
  6. include it on any CDs, please do.
  7.  
  8. ---
  9. To use the stand-alone version:
  10.  
  11. 1) Launch "unshar"
  12. 2) select "Extract"
  13. 3) choose a shar archive that you've downloaded
  14.    (must be a text file).
  15. 4) select a FOLDER in which to store the extracted files
  16. 5) pick next archive or quit
  17.  
  18. For batch unsharing:
  19.  
  20. 1) Select a group of files (must be TEXT files)
  21.    and drop them into unshar when the appl's icon is
  22.    highlighted.
  23.  
  24. Of course, if the file isn't a shar archive, ...
  25.  
  26. To use the MPW tool version, execute the following command line in
  27. the MPW shell:
  28.  
  29. unshar -f -c creator -t type [files|-]
  30.  
  31. where files is the name of the shar file. You can also specify
  32. std input by using the dummy filename "-"; e.g.
  33.  
  34. uudecode -u < foo.uu | unshar -
  35.  
  36. The options are:
  37.  
  38. •    -c and -t  specifes the creator and type of the extracted files
  39.     (defaults to "MPS " "TEXT")
  40. •    -f will force unshar to overwrite existing files
  41.  
  42. Not all shar files can be processed by this application,
  43. but it will work for the ones in the sumex archives and
  44. those in comp.binaries.mac.
  45.  
  46. This was built from source code posted by Amanda Walker of
  47. Intercon.
  48.  
  49. ---
  50. Notes for hackers:
  51.  
  52. The same source file can be used for both MPW,Think C,  Metrowerks
  53. CodeWarrior 68K and PPC. It will probably build with Sym 8 as well,
  54. but I haven't tried. 
  55.  
  56. For use with Think C, you need
  57. a) TC 7.0 or later
  58. b) the header files distributed on the Sym 8.0 CD
  59. c) TransSkel 3.21 or later from
  60.    ftp://ftp.primate.wisc.edu//pub/mac/TransSkel/TransSkel-3.21.cpt.hqx
  61.  
  62.  
  63. For Metrowerks, you need CW 6 (probably works with CW 5.5, but I
  64. haven't tried).
  65.  
  66. To build a fat standalone version:
  67.  
  68. 0)    Install TransSkel as per instructions in the TransSkel distribution.
  69. 1)    Using either CW 68K or Think C, build the 68K version
  70. 2)    Build using the CW PPC project - it includes the built 68K appl
  71.     resources and all.
  72. 3)    If CodeWarrior moans about access paths, change them (in Preferences...)
  73.     to point at the folder where you installed the TransSkel headers and libs.
  74.  
  75. For MPW, use the unshar.make that is provided; you can use the
  76. Build command in the Build menu. I used MPW 3.3, but I think it'll
  77. compile under 3.2 as well. You will need PPCC to build a fat tool.
  78.  
  79. ---
  80. Sak Wathanasin
  81. Network Analysis Limited
  82.  
  83. uucp:    ...!ukc!nan!sw
  84. other:    sw@network-analysis-ltd.co.uk
  85. phone:  (+44) 1203 419996
  86. snail:  178 Wainbody Ave South, Coventry CV3 6BX, UK
  87.